<%-- 
    Document   : Subcribe
    Created on : 23/04/2011, 08:05:47 PM
    Author     : Jhon
--%>

<%@page import="control.Controller"%>
<%@page import="vo.VOContest"%>
<%@page import="vo.VOUser"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<%@include file="CheckSession.jsp"%>
<%
    VOUser a = (VOUser) session.getAttribute("USER");
    VOContest p = (VOContest) session.getAttribute("CONTEST");
    Controller con = Controller.getInstance();
    con.registerForContest(a.getHandle(), p.getContestCode());
    response.sendRedirect("./ContestInfo.jsp");

%>
